Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.user.center.profile.converters--converter

This contribution is part of XML component org.nuxeo.ecm.user.center.profile.converters inside nuxeo-user-profile-8.10.jar /OSGI-INF/converter-contrib.xml

Extension Point

Extension point converter of component ConversionServiceImpl.

Contributed Items

  • <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="resizeAvatar">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>image/jpg</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">resizeAvatar</parameter>
          </parameters>
        </converter>

XML Source

<extension point="converter" target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl">

    <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="resizeAvatar">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpg</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">resizeAvatar</parameter>
      </parameters>
    </converter>

  </extension>